home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 17 / pc_cai2.zip / LATENEWS.DOC < prev    next >
Text File  |  1991-05-20  |  9KB  |  207 lines

  1. 6-15-90, PC-CAI version 2.00 initial release
  2.  
  3. If you have not already done so, Please register so we may send you 
  4. information about updates, corrections and enhancements.
  5.  
  6. Note:this version will not produce graphics on Hercules-type monitors.
  7. However, there are some inexpensive programs such as SIMCGA that will
  8. allow you to simulate CGA graphics on your Hercules monitor, and will
  9. thus allow you to use the graphic capabilities of this program.
  10. ----------------------------------------------------------------------------  
  11.  
  12. Before beginning to use PC-CAI, please be sure to run the CAI-UTIL
  13. program to set up default drives, colors, and other options for the
  14. editor and for CREATE. Also, be sure to look at the two demo programs called 
  15. DEMO and CREATE. You can start these programs at the DOS prompt with the 
  16. commands:
  17.  
  18. CAI DEMO          (requires CGA compatible monitor)
  19.  
  20. and
  21.  
  22. CAI CREATE
  23. ----------------------------------------------------------------------------  
  24.  
  25. SAMPLES DISK - When you register for PC-CAI you will get a disk that contains 
  26. sample CAI programs and other goodies to help make PC-CAI more exciting. You 
  27. are encouraged to send in short programs or pieces of programs, images, etc 
  28. that you would like to share with other PC-CAI users. We will place them on 
  29. the SAMPLES disk so that others can get ideas of how to use PC-CAI. If your
  30. submission is placed on the disk, you will be sent a free updated copy of the 
  31. SAMPLES disk. The disk will be updated periodically to reflect submissions.
  32.  
  33. Some of the current contents of the disk includes:
  34.        - A tutorial on how to use DOS
  35.        - A program to produce BIG letters 
  36.        - A program to translate Print Master graphics into PC-CAI
  37.          IMG graphics.
  38.        - A sample menu program using the @CASE command.
  39.                                                                                
  40. ----------------------------------------------------------------------------
  41. SAMPLES DISK SUBMISSION FORM:Please fill this out & send with your submission
  42. ----------------------------------------------------------------------------
  43. I am submitting the information in the following files to be used as examples 
  44. for the PC-CAI program. I place this information in the public domain which 
  45. gives permission for anyone to use these examples as they wish. If my 
  46. submission is placed on the SAMPLES disk, I will receive the latest copy of
  47. the SAMPLES disk for my own use.
  48.  
  49. FILES SUBMITTED:____________________________________________________________
  50. ____________________________________________________________________________
  51. ____________________________________________________________________________
  52.  
  53. NAME:______________________________________ DATE:___________________________
  54.  
  55. ADDRESS:____________________________________PHONE#:(    )___________________
  56.  
  57. CITY/STATE/ZIP/COUNTRY:_____________________________________________________
  58.  
  59. Please send your disk to TexaSoft, PC-CAI SAMPLES, PO Box 1169, Cedar Hill,    
  60. Texas 75104. Thanks.
  61. ----------------------------------------------------------------------------  
  62. IMPORTANT INFORMATION ABOUT PROGRAM FILES
  63. ----------------------------------------------------------------------------
  64. Some changes in the way CAI was compiled means that the file BRUN40.EXE is no 
  65. longer required to run CAI.EXE. However, there are a couple of extra program 
  66. files that you need to know about. These are: 
  67.  
  68. CAIPCX.EXE - This file needs to be on disk if the command .PCX is used in a 
  69. program. It is the command that allows you to diskplay PCX graphics. 
  70.  
  71. CAIHELP.COM - This file is needed to access the CAI help files (the F1 
  72. command when you are in the editor). Also, the file CAI.HLP must be available 
  73. for the help to work.
  74.  
  75. Therefore, to distribute a CAI program, all you need to include on the disk 
  76. is the file CAI.EXE. However, if your tutorial uses the .PCX command, you 
  77. will also have to include the program CAIPCX.EXE on the disk.
  78. ----------------------------------------------------------------------------  
  79. PCX GRAPHICS
  80. ----------------------------------------------------------------------------
  81. In order to display PCX graphics properly on the screen, they need to match
  82. the .SCREEN command. For example, if your PCX file was created in low 
  83. resolution CGA mode, you will need to be in SCREEN 1 mode. High Resolution
  84. CGA mode is SCREEN 2, and EGA color mode is SCREEN 9. These are the only 
  85. modes currently supported in PC-CAI. Displaying PCX graphics that were 
  86. created in other modes may distort the graphics picture. (SEE CAIPCX 
  87. DOCUMENTATION BELOW FOR A SOLUTION.) 
  88. ----------------------------------------------------------------------------
  89.                        
  90. 10-2-90
  91.  
  92. Correction to fix a bug in the GRADE option.
  93.  
  94. 4-16-91
  95.  
  96.                 CAIPCX Program Documentation                                   
  97.               --------------------------------
  98.  
  99. Purpose:Display a PCX graphic file on the screen. This can be used instead of 
  100. the .PCX command in PC-CAI. 
  101.                               
  102. The format of the command is:
  103. ---------------------------------------------------------
  104. CAIPCX filename pcxmode,y,x,returnmode,returntype
  105. ---------------------------------------------------------  
  106. where...
  107.                                                                                
  108. filename - the name of the PCX graphic file
  109.  
  110. pcxmode - the mode to be used to display the graph (see mode numbers listed 
  111. below) 
  112.  
  113. y - vertical location
  114.  
  115. x - horizontal location
  116.  
  117. returnmode - the mode that you want to revert to when then program ends. (see 
  118. END NOTE below) 
  119.  
  120. returntype - 0 is text, 1 is graphic. Specifies what type you want to return 
  121. to when the program ends (see END NOTE) 
  122.  
  123. END NOTE:
  124.  
  125. If you leave off returnmode and returntype by using the syntax: 
  126. ---------------------------------------------------------
  127. CAIPCX filename pcxmode,y,x
  128. ---------------------------------------------------------  
  129. the PCX graphic will be displayed and the program will immediatly end, 
  130. leaving the graphic on the screen and remaining in the same mode and type. 
  131. This is the standard way CAIPCX is used from PC-CAI with the PCX command. 
  132.  
  133. If you include a returnmode and returntype, the PCX grpahic will be displayed 
  134. and remain on the screen until a key is pressed. Then the screen will go to 
  135. the specified returnmode and returntype. 
  136.  
  137. TO CALL CAIPCX FROM WITHIN PC-CAI:
  138.  
  139. If you are using one the standard modes within PC-CAI (SCREEN 0, 1 or 9), 
  140. then use the .PCX command as described in the PC-CAI manual. 
  141.  
  142. If you want to display a PCX file in another mode, use the 
  143. @SHELL command. For example:
  144. ---------------------------------------------------------
  145. @SHELL(*CAIPCX TESTPCX 4,0,0,0,0*)
  146. ---------------------------------------------------------  
  147. Would display the file named TESTPCX in mode 4 (EGA 2 colors) at position
  148. 0,0. When a key was pressed, the screen would revert to CGA text mode. 
  149.  
  150.     Table of PCX Monitor Modes
  151.     -----------------------------------------
  152.     0 - 320 x 200 pixel CGA (4 colors)       
  153.     1 - 640 x 200 pixel CGA (2 colors)       
  154.     2 - 320 x 200 pixel EGA (16 colors)      
  155.     3 - 640 x 299 pixel EGA (16 colors)      
  156.     4 - 640 x 350 pixel EGA (2 colors)       
  157.     5 - 640 x 350 pixel EGA (16 colors)      
  158.     6 - 640 x 480 pixel VGA (2 colors)       
  159.     7 - 640 x 480 pixel VGA (16 colors)      
  160.     8 - 320 x 200 pixel VGA (256 colors)     
  161.     9 - 720 x 348 pixel Hercules (2 colors)  
  162.     10- 800 x 600 pixel Tseng (256 colors)
  163.     11- 640 x 350 pixel Tseng (256 colors)
  164.     12- 640 x 480 pixel Tseng (256 colors)
  165.     13- 800 x 600 pixel Tseng (256 colors)
  166.     14- 800 x 600 pixel Paradise (16 colors)
  167.     15- 800 x 600 pixel Paradise (2 colors)
  168.     16- 640 x 400 pixel Paradise (256 colors)
  169.     17- 640 x 480 pixel Paradise (256 colors)
  170.     18- 800 x 600 pixel Video 7 (16 colors)
  171.     19- 640 x 400 pixel Video 7 (256 colors)
  172.     20- 640 x 480 pixel Video 7 (256 colors)
  173.     21- 800 x 600 pixel Video 7 (256 colors)
  174.  
  175.  
  176. ------------------------------------------------------------------
  177. NEW COMMANDS
  178. ------------------------------------------------------------------  
  179. @RESTORE: 
  180.  
  181. The @RESTORE command zeros out counting for question grading. Thus, if you 
  182. have some preliminary questions to ask before starting to keep record, place 
  183. the @RESTORE command right before you want to start counting right and wrong 
  184. answers. 
  185.  
  186. @STOP GO:Label Option:
  187.  
  188. A new option to the @STOP command is GO:Label. When you use the @STOP command
  189. with the GO:Label option, the program will end, then resume at the label
  190. specified in the GO:Label option. For example:
  191.  
  192. @STOP GO:AGAIN
  193.  
  194. would cause the program to stop, then begin again at the label named AGAIN.
  195.  
  196. @CHAIN (*filename*)
  197.  
  198. This command allows you to exit one PC-CAI program and start another. It 
  199. allows you to break your programs into modules and chain from one to another. 
  200. For example, suppose you want to leave one PC-CAI program and begin one named
  201. NEWPROG. You can do this with the command
  202.  
  203. @CHAIN (*NEWPROG*)
  204.  
  205. Your old program will be removed from PC-CAI memory, and the new one will be 
  206. loaded and run.
  207.